package com.fruit.constants;

public class OrderConstant {
	public final static String ORDER_AUTO_CANCEL ="order_auto_cancel_";//自动取消
	public enum State{
		notpay("00"),
		pay("01"),
		cancel("05");
		String value;
		State(String value){
			this.value = value;
		}
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
		public boolean equals(String value){
			return this.value.equals(value);
		}
	}
	
	public enum Type{
		goods("00");
		String value;
		Type(String value){
			this.value = value;
		}
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
	}

	public enum ServiceState{
		updateOrder("00"),
		updateFruit("01"),
		handelRights("02"),
		handelCommission("03"),
		cancelUpdateOrder("04"),
		cancelUpdateFruit("05");
		String value;
		ServiceState(String value){
			this.value = value;
		}
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
	}
	
	public enum TransactionServiceState{
		update("00"),
		updateUser("01");
		String value;
		TransactionServiceState(String value){
			this.value = value;
		}
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
	}
	
	
}
